/*
 * Copyright (c) Ulrich Hilger, http://dev.uhilger.de, all rights reserved.
 *
 * Published under the terms and conditions of the Apache License 2.0,
 * see http://www.apache.org/licenses/LICENSE-2.0
 */

package de.uhilger.servicehub.model;

/**
 * <p>This interface needs to be implemented by classes that model users
 * for application ServiceHub</p>
 *
 * @author Ulrich Hilger, <a href="http://dev.uhilger.de" target="_blank">http://dev.uhilger.de</a>
 * @author Published under the terms and conditions of
 * the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License 2.0</a>
 */
public interface User {

  /**
   * Get the name of this user
   * @return  the user name
   */
  public String getUserName();

  /**
   * Set the name of this user
   * @param userName  the name to give this user
   */
  public void setUserName(String userName);

  /**
   * Get the password of this user
   * @return  the user password
   */
  public String getUserPassword();

  /**
   * Set the password of this user
   * @param userPassword  the password to set for this user
   */
  public void setUserPassword(String userPassword);

  public void setUserId(Object id);
  public Object getUserId();
}
